package com.neuronbit.businessflow.flow.util;

import com.google.gson.Gson;

/**
 * The type Gson utils.
 */
public class GsonUtils {
    /**
     * The constant gson.
     */
    public static Gson gson = new Gson();


    /**
     * To json string.
     *
     * @param collect the collect
     * @return the string
     */
    public static String toJson(Object collect) {
        return gson.toJson(collect);
    }
}
